package com.zcbl.toolkit.aliyun.oss;

import com.aliyun.oss.OSS;

import java.io.InputStream;
import java.util.Map;

/**
 * @author he peng
 * @create 2018/4/26 13:15
 * @see
 */
public interface OSSEnhance extends OSS {

    Map<String , PutObjectPathResultWrapper> putObject(String bucketName, Map<String , InputStream> inputMap);

    Map<String , PutObjectPathResultWrapper> putObject(Map<String , InputStream> inputMap);

    PutObjectPathResultWrapper putObject(String key , InputStream inputStream);

    String getObjectExternalUrl(String key , OSSProperties ossProperties);

    String getObjectExternalUrl(String key);

    String getObjectExternalUrl(String bucket , String key , OSSProperties ossProperties);

    String getObjectInternalUrl(String key , OSSProperties ossProperties);

    String getObjectInternalUrl(String key);

    String getObjectInternalUrl(String bucket , String key , OSSProperties ossProperties);

}
